﻿using System;
namespace Golf.Model
{
	/// <summary>
	/// Golf_Comment:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Golf_Comment
	{
		public Golf_Comment()
		{}
		#region Model
		private int _id;
		private string _ordernumber;
		private int _userid;
		private string _fristname;
		private string _lastname;
		private int _productid;
		private string _commenttitle;
		private string _commentcontent;
		private DateTime _commenttime= DateTime.Now;
		private string _commentip;
		private int _commentscore;
		private string _commentnum;
		private bool _isshow= true;
		/// <summary>
		/// id
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 订单号
		/// </summary>
		public string OrderNumber
		{
			set{ _ordernumber=value;}
			get{return _ordernumber;}
		}
		/// <summary>
		/// 会员id	Golf_User表
		/// </summary>
		public int UserId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 姓	Golf_User表
		/// </summary>
		public string FristName
		{
			set{ _fristname=value;}
			get{return _fristname;}
		}
		/// <summary>
		/// 名	Golf_User表
		/// </summary>
		public string LastName
		{
			set{ _lastname=value;}
			get{return _lastname;}
		}
		/// <summary>
		/// 产品id	Golf_Product表
		/// </summary>
		public int ProductId
		{
			set{ _productid=value;}
			get{return _productid;}
		}
		/// <summary>
		/// 标题（产品名称）	Golf_Product表
		/// </summary>
		public string CommentTitle
		{
			set{ _commenttitle=value;}
			get{return _commenttitle;}
		}
		/// <summary>
		/// 评论内容
		/// </summary>
		public string CommentContent
		{
			set{ _commentcontent=value;}
			get{return _commentcontent;}
		}
		/// <summary>
		/// 评论时间
		/// </summary>
		public DateTime CommentTime
		{
			set{ _commenttime=value;}
			get{return _commenttime;}
		}
		/// <summary>
		/// 用户IP
		/// </summary>
		public string CommentIp
		{
			set{ _commentip=value;}
			get{return _commentip;}
		}
		/// <summary>
		/// 评论分数
		/// </summary>
		public int CommentScore
		{
			set{ _commentscore=value;}
			get{return _commentscore;}
		}
		/// <summary>
		/// 评论次数
		/// </summary>
		public string CommentNum
		{
			set{ _commentnum=value;}
			get{return _commentnum;}
		}
		/// <summary>
		/// 是否显示 1显0 不显
		/// </summary>
		public bool IsShow
		{
			set{ _isshow=value;}
			get{return _isshow;}
		}
		#endregion Model

	}
}

